<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE form-validation PUBLIC
        "-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.3.0//EN"
        "http://jakarta.apache.org/commons/dtds/validator_1_3_0.dtd">
<!-- 此文件用于定义各项目的扩展验证 -->
<form-validation>
     <formset>		
		<form name="logeGrade">
			<field property="name" depends="required">
				<arg position="0" key="房间等级名称" />
			</field>
		</form>	
		<form name="loge">
			<field property="name" depends="required">
				<arg position="0" key="宿舍名称" />
			</field>
			<field property="varadminIdName" depends="required">
				<arg position="0" key="管理员" />
			</field>
		</form>	
	    <form name="logeRoom">
			<field property="no" depends="required">
				<arg position="0" key="房间编号" />
			</field>
			<field property="bedCount" depends="required">
				<arg position="0" key="床位数"/>
			</field>
		  <field property="rem" depends="maxlength">
				<var>
					<var-name>maxlength</var-name>
					<var-value>255</var-value>
				</var>
				<arg position="0" key="备注" />
				<arg position="1" name="maxlength" key="255" resource="false" />				
			</field>
		</form>	
		<form name="logeApply">
			<field property="varadminIdName" depends="required">
				<arg position="0" key="申请人名称" />
			</field>
		
			<field property="sex" depends="required">
				<arg position="0" key="性别"/>
			</field>
			<field property="logeBedName" depends="required">
				<arg position="0" key="床位"/>
			</field>
			<field property="beginDate" depends="required">
				<arg position="0" key="入宿时间"/>
			</field>
		</form>
         <form name="hotelRecord">
         	<field property="logeBedId" depends="required">
				<arg position="0" key="床号"/>
			</field>
			<field property="beginDate" depends="required">
				<arg position="0" key="入宿时间"/>
			</field>
         </form>
		<form name="logeRule">
			<field property="name" depends="required">
				<arg position="0" key="名称"/>
			</field>
			<field property="type" depends="required">
				<arg position="0" key="类型"/>
			</field>
		</form>
		<form name="logeLeave">
			<field property="logeBedId" depends="required">
				<arg position="0" key="床位"/>
			</field>
		</form>
		<form name="logeRoomCharge">
			<field property="logeRoomName" depends="required">
				<arg position="0" key="房间"/>
			</field>
			<field property="year" depends="required">
				<arg position="0" key="房间"/>
			</field>
			<field property="month" depends="required">
				<arg position="0" key="月份"/>
			</field>
			<field property="totalCharge" depends="required">
				<arg position="0" key="合计费用"/>
			</field>
		</form>
		</formset>	
</form-validation>
